Skip to content
This repository was archived by the owner on Nov 22, 2026. It is now read-only.

chore(ci): pin actions to commit SHAs and harden workflow permissions - #107

Merged
Pigbibi merged 1 commit into
mainfrom
chore/p0-workflow-hardening
Nov 22, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
chore/p0-workflow-hardening

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

AI assistance

Antigravity (Gemini)

What changed

  • Pin third-party GitHub Actions references to immutable 40-character commit SHAs.
  • Update Pigbibi/PrGovernance/pr-governance to 7fe2ee20a3ee144ea944619e1c56f7ed5edc9152.
  • Add explicit top-level permissions: contents: read where missing and retention-days: 14 on upload-artifact steps.
  • Reduce scheduled risk-gate.yml / codex-nudge.yml sweep frequency (17 3 * * * / 15 2,14 * * *) and align affected workflow-contract tests.

How verified

  • Validated all modified workflow YAML files with yaml.safe_load.
  • Verified repository CI checks (test, Documentation check, Gitleaks, Commit message convention) on this PR.

Why

Resolves P0/P1 supply-chain pinning, least-privilege GITHUB_TOKEN, artifact retention, and redundant governance cron runs identified in the cross-org audit.

Risk

R2 (.github/workflows/ changes): cleared with agent-approved label and @codex review.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T08:15:14.688565Z c8a637d Manual request
🔒 Security Review ✅ Completed 2026-11-22T08:19:03.436622Z c8a637d Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Pigbibi Pigbibi added the agent-approved An agent cleared this high-risk change on the current head; not an owner confirmation label Nov 22, 2026
@Pigbibi

Pigbibi commented Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@Pigbibi
Pigbibi enabled auto-merge (squash) November 22, 2026 08:14
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: c8a637d774

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: c8a637d774

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@Pigbibi
Pigbibi merged commit 264fdaa into main Nov 22, 2026
14 of 16 checks passed
@Pigbibi
Pigbibi deleted the chore/p0-workflow-hardening branch November 22, 2026 08:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

agent-approved An agent cleared this high-risk change on the current head; not an owner confirmation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant